-- IS_LIVING_MONSTER
-- 是否有生命的怪物

-- @param monster 怪物
return function(monster)
    local monsterStyle = monster.style;

    if monsterStyle == MONSTER_STYLE_HUMAN or
        monsterStyle == MONSTER_STYLE_LIVING or
        monsterStyle == MONSTER_STYLE_PLANT or
        monsterStyle == MONSTER_STYLE_DEMON or
        monsterStyle == MONSTER_STYLE_SLIME then
        return true;
    end

    return false;
end
